<div class="ss-platform-modal-wraper" #modal>
  <div class="ss-platform-modal-header" (click)="modal.close()">离开提示</div>
  <div class="ss-platform-modal-body ss-platform-msgbox">
    <dl>
      <dt><i>&#xe053;</i></dt>
      <dd>
        <div class="message">确定要离开此页吗？</div>
        <div class="description">未保存的内容将会丢失。</div>
      </dd>
    </dl>
  </div>
  <div class="ss-platform-modal-footer">
    <button class="ss-platform-btn ss-platform-btn-danger" (click)="modal.submit(true)">离开</button>
    <button class="ss-platform-btn ss-platform-btn-gray2" (click)="modal.close()">留在此页</button>
  </div>
</div>
